﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace day19
{
    internal class Program
    {
        static void Main(string[] args)
        {
            create database zhihu default charset utf8;
            create user 'hellokitty'@'%' identified by 'Hellokitty.618';
            grant all privileges on zhihu.* to 'hellokitty'@'%';
            flush privileges;
            use zhihu;
            create table `tb_explore`
(
    `id` integer auto_increment,
    `url` varchar(1024) not null,
    `page` longblob not null,
    `digest` char(48) unique not null,
    `idate` datetime default now(),
    primary key(`id`)
);
        }
    }
}
